package mephisto;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;


public class Context {

    protected Map<String, Object> attributes ;
    
    public Context() {
        super();
        this.attributes = new HashMap<String, Object>();
        
    }
    
    public void put(String key, Object entry) {
        attributes.put(key, entry);
    }
    
    public Object get(String key) {
        return attributes.get(key);
    }
    
    public Iterator<String> keyIterator() {
        return attributes.keySet().iterator();
    }
    
    public Set<Entry<String, Object>> entrySet() {
        return attributes.entrySet();
    }


    
}
